repo: Add ostree_repo_get_dfd()
authorColin Walters <walters@verbum.org>
Wed, 2 Mar 2016 02:52:22 +0000 (21:52 -0500)
committerColin Walters <walters@verbum.org>
Wed, 2 Mar 2016 02:52:22 +0000 (21:52 -0500)
commit3efdcb54b79b288a208e5d41b4d16c2f445cc664
tree87d5c986c1f19ac3f35f44175f54bd174d2942aa
parent16979cc5ed9b158b1a9b5ba929c8af32baa41d9d
repo: Add ostree_repo_get_dfd()

I plan to use this in rpm-ostree at least for two reasons:
 - To find the mtime on the repo
 - To use the tmp/ directory to stage content (but we should eventually
   add a better API)
src/libostree/libostree.sym
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h